//7:输入一个整数，判断其是否是回文数，回文数是指这个数颠倒后，和原数相同那个。
public class Task1 {
    public static void main(String[] args) {
        System.out.println("please input a number:");
        Scanner input = new Scanner(System.in);
        int num = input.nextInt(), a = 0, sum = 0, temp = num;
        for (int i = 0; num != 0; i++) {
            sum = (sum + num % 10) * 10;
            num = num / 10;
            if (temp == sum / 10) {
                System.out.println("yse");
                break;
            }
        }
        if (temp != sum / 10) {
            System.out.println("no");
        }
    }
}